/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-29
 * Time: 22:19
 */
 class A<T> {
    T value;

    A(T value) {
         this.value=value;
    }

    T get() {
        return value;
    }
}
public class Test{
    public static void main(String[] args) {
        A<Integer> a=new A<>(2);
        System.out.println(a.get());
    }
}
